package com.springweb.unit2.annotated.impl;

import org.springframework.stereotype.Component;

import com.springweb.unit2.annotated.CompactDisc;

@Component("sgtPeppers")
public class SgtPeppers implements CompactDisc {
	
	private String title = "珠宝";
	private String artist = "祖母绿";
	@Override
	public void play() {
		System.out.println("Playing " + title + " by " + artist);
	}

}
